<?php
/*
 * Author :pandiam
 */
require_once('../BL/BL.php');
UI_initErrors();

$catId = $_GET['id'];

if(admin_enableCategory($catId)<0 ){
    UI_registerError('msg_error', "Could not enable that category");
}
else{
    UI_registerError('msg_success', "Category Enabled");
}
header('location:profile.php');
?>
